<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

	<h:form id="menuTop" styleClass="menuTop" acceptcharset="ISO-8859-1">

		<p:menubar style="width: 100%;">
			<p:submenu label="#{msgs['massai.menu.support']}" rendered="#{sessionBean.showMenu('support')}">
				<p:menuitem value="#{msgs['massai.menu.support.productionGroup']}" outcome="productionGroupConsult" rendered="#{sessionBean.showMenu('supportProductionGroup')}" />
				<p:menuitem value="#{msgs['massai.menu.support.serviceItem']}" outcome="serviceItemConsult" rendered="#{sessionBean.showMenu('supportServiceItem')}" />
				<p:menuitem value="#{msgs['massai.menu.support.unitMeasure']}" outcome="unitMeasureConsult" rendered="#{sessionBean.showMenu('supportUnitMeasure')}" />
			</p:submenu>

			<p:submenu label="#{msgs['massai.menu.production']}" rendered="#{sessionBean.showMenu('production')}">
				<p:menuitem value="#{msgs['massai.menu.production.productionLaunch']}" outcome="productionLaunchConsult" rendered="#{sessionBean.showMenu('productionProductionLaunch')}" />
				<p:menuitem value="#{msgs['massai.menu.production.releasedProductions']}" outcome="releasedProductionsConsult" rendered="#{sessionBean.showMenu('productionReleasedProductions')}" />
			</p:submenu>

			<p:submenu label="#{msgs['massai.menu.admin']}" rendered="#{sessionBean.showMenu('admin')}">
				<p:menuitem value="#{msgs['massai.menu.admin.association']}" outcome="associationConsult" rendered="#{sessionBean.showMenu('adminAssociation')}" />
				<p:menuitem value="#{msgs['massai.menu.admin.import']}" outcome="fileImport" rendered="#{sessionBean.admin}" />
				<p:menuitem value="#{msgs['massai.menu.admin.permission']}" outcome="permissionConsult" rendered="#{sessionBean.showMenu('adminPermission')}" />
				<p:menuitem value="#{msgs['massai.menu.admin.user']}" outcome="userConsult" rendered="#{sessionBean.showMenu('adminUser')}" />
			</p:submenu>

			<p:submenu label="#{msgs['massai.menu.report']}" rendered="#{sessionBean.showMenu('report')}">
				<p:menuitem value="#{msgs['massai.menu.report.demonstrativeSienge']}" outcome="demonstrativeSiengePrintout" rendered="#{sessionBean.showMenu('reportDemonstrativeSienge')}" />
				<p:menuitem value="#{msgs['massai.menu.report.yieldEfficiency']}" outcome="yieldEfficiencyPrintout" rendered="#{sessionBean.showMenu('reportYieldEfficiency')}" />
				<p:menuitem value="#{msgs['massai.menu.report.syntheticProductivity']}" outcome="syntheticProductivityPrintout" rendered="#{sessionBean.showMenu('reportSyntheticProductivity')}" />
			</p:submenu>
		</p:menubar>
	</h:form>
</html>